//
//  PostsTextViewController.h
//  CYWFrame
//
//  Created by Macx on 2017/8/4.
//  Copyright © 2017年 Macx. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <iflyMSC/iflyMSC.h>
@class IFlyDataUploader;
@class IFlySpeechRecognizer;
@class IFlyPcmRecorder;

@interface PostsTextViewController : UIViewController <IFlySpeechRecognizerDelegate,IFlyRecognizerViewDelegate,UIActionSheetDelegate,IFlyPcmRecorderDelegate>

@property (nonatomic, strong) NSString *type;

// 视频
@property (nonatomic, strong) NSString *videoPath;
@property (nonatomic, strong) UIImage *videoCover;

@property (nonatomic, strong) NSString *goodId; // 商品订单完成
@property (nonatomic, strong) NSString *order_id;
@property (nonatomic, strong) NSString *questionId; // 问答专区 问题 id



// 讯飞
@property (nonatomic, strong) IFlySpeechRecognizer *iFlySpeechRecognizer;//Recognition conrol without view
@property (nonatomic, strong) IFlyRecognizerView *iflyRecognizerView;//Recognition control with view

@property (nonatomic, strong) NSString * result;
@property (nonatomic, assign) BOOL isCanceled;

@property (nonatomic,strong) IFlyPcmRecorder *pcmRecorder;//PCM Recorder to be used to demonstrate Audio Stream Recognition.
@property (nonatomic,assign) BOOL isStreamRec;//Whether or not it is Audio Stream function


@end
